package structure;

public class QuestionType {
	private int tID;
	private String tName;
	private int numofQuestion;
	
	public QuestionType() {
		
	}
	
	public QuestionType(int tID, String tName, int num) {
		this.tID = tID;
		this.tName = tName;
		this.numofQuestion = num;
	}

	public int gettID() {
		return tID;
	}

	public void settID(int tID) {
		this.tID = tID;
	}

	public String gettName() {
		return tName;
	}

	public void settName(String tName) {
		this.tName = tName;
	}

	public int getNumofQuestion() {
		return numofQuestion;
	}

	public void setNumofQuestion(int numofQuestion) {
		this.numofQuestion = numofQuestion;
	}

	@Override
	public String toString() {
		return this.tName + " " + this.numofQuestion;
	}
}
